package com.abcdefg.mapper;

import com.abcdefg.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderMapper {
    @Select("select id as id ,user_id as userId,product_id as productId,num as num," +
            "price as price, delete_flag as deleteFlag ,create_time as createTime,update_time as updateTime from order_detail where id=#{orderId}")
    OrderInfo selectOrderById(Integer orderId);
}
